package com.zutassociation.system.service.impl;

import com.zutassociation.system.domain.AcUser;
import com.zutassociation.system.mapper.AcUserMapper;
import com.zutassociation.system.service.AcUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 黄玉东
 * @version 1.0
 * @date 2021/6/1 21:11
 */
@Service
public class AcUserServiceImpl implements AcUserService {
    @Autowired
    private AcUserMapper acUserMapper;

    @Override
    public AcUser selectReplyById(Long id) {
        return acUserMapper.selectReplyById(id);
    }

    @Override
    public AcUser selectReplyuserId(Long userId) {
        return acUserMapper.selectReplyuserId(userId);
    }

    @Override
    public AcUser selectReplyForumId(Long acId) {
        return acUserMapper.selectReplyForumId(acId);
    }

    @Override
    public List<AcUser> selectReplyList(AcUser acUser) {
        return acUserMapper.selectReplyList(acUser);
    }

    @Override
    public int insertReply(AcUser acUser) {
        return acUserMapper.insertReply(acUser);
    }

    @Override
    public int updateReply(AcUser acUser) {
        return acUserMapper.updateReply(acUser);
    }

    @Override
    public int deleteReplyById(Long id) {
        return acUserMapper.deleteReplyById(id);
    }

    @Override
    public int deleteReplyByIds(Long[] ids) {
        return acUserMapper.deleteReplyByIds(ids);
    }
}
